//
//  HLLoginModel.h
//  YueYue
//
//  Created by hulu001 on 2023/5/20.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HLLoginModel : NSObject
@property (nonatomic , copy) NSString *userId;
@property (nonatomic , copy) NSString *nickName;
@property (nonatomic , copy) NSString *sex; //1男  2女  0未知
@property (nonatomic , copy) NSString *avatar;
@property (nonatomic , copy) NSString *avatarStatus;
/// 用户类型 0:普通用户 1:真人认证 2:聊主 3:游客 4:官方账号
@property (nonatomic , copy) NSString *userType;
@property (nonatomic , copy) NSString *selfSign;
@property (nonatomic , copy) NSString *cnSelfSign;
@property (nonatomic , copy) NSString *mobile;
@property (nonatomic , copy) NSString *email;
@property (nonatomic , copy) NSString *height;
@property (nonatomic , copy) NSString *weight;
@property (nonatomic , copy) NSString *vocation;
@property (nonatomic , copy) NSString *accountStatus;
@property (nonatomic , copy) NSString *countryId;
@property (nonatomic , copy) NSString *countryName;
@property (nonatomic , copy) NSString *birthday;
@property (nonatomic , copy) NSString *constellation;
@property (nonatomic , copy) NSString *isNoble;
@property (nonatomic , copy) NSString *inviteNo;
@property (nonatomic , copy) NSString *deviceId;
@property (nonatomic , copy) NSString *token;
@property (nonatomic , copy) NSString *yxToken;
@property (nonatomic , copy) NSString *cteTime;
@property (nonatomic , copy) NSString *age;
@property (nonatomic , assign) NSInteger isInfoDone;
@property (nonatomic , copy) NSString *wfId;
@property (nonatomic , copy) NSString *otherInviteCode;
/// 行业
@property (nonatomic , copy) NSString *industry;
@property (nonatomic , copy) NSString *school;
@property (nonatomic , copy) NSString *hometown;
@property (nonatomic , copy) NSString *yearIncome;
@property (nonatomic , copy) NSString *isVip;
@property (nonatomic , copy) NSString *countryImg;

@property (nonatomic , strong) NSArray *goodAtLang;
@property (nonatomic , copy) NSString *goodAtLangList;
@property (nonatomic , strong) NSArray *likeLang;
@property (nonatomic , copy) NSString *likeLangList;
@property (nonatomic , copy) NSString *navLang;
@property (nonatomic , copy) NSString *navLangObj;

/// 是否已绑定账号 0-否 1-是
@property (nonatomic,   assign) BOOL hasBindAccount;
/// 是否需要认证人脸 0-否 1-是
@property (nonatomic,   assign) BOOL hasNeedAuth;
/// 是否真人比对 0-否 1-是
@property (nonatomic,   assign) BOOL hasRealCompare;
/// 是否设置密码
@property (nonatomic,   assign) BOOL hasPassword;
/// 是否修改过母语 默认没有
@property (nonatomic,   assign) BOOL hasModifyNav;

- (void)syncDataKeychain;

+ (HLLoginModel *)dataWithKeychain;

+ (void)deleteWithKeychain;

@end

NS_ASSUME_NONNULL_END
